package com.ms.auction.auth.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ms.auction.auth.system.entity.TbPermission;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 安能
 * @since 2019-07-11
 */
public interface ITbPermissionService extends IService<TbPermission> {

    /**
     * 获取用户所有的权限数据
     * @param userId
     * @return
     */
    public List<TbPermission> selectByUserId(Long userId);

}
